Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Displaying Raw • Download


sbapp/kivymd/tools/patterns/MVC/Makefile.tmp b4f0ff722e954d1edc2d4d433f4bd95d362bcc3a (b4f0ff72) Text, 870 B

T8b949e# FILE TO FIND AND CREATE LOCALIZATION FILES FOR YOUR APPLICATION. \
\
In this file, you can specify in which files of your project to search for \
localization strings. \
Td2a8ffThese files should be listed in the below commandTff7b72: \
\
\
Te6edf3xgettext -Te6edf3Lpython --Te6edf3output=Te6edf3messages.Te6edf3pot --Te6edf3from-Te6edf3code=Te6edf3utf-8 \
Te6edf3path/Te6edf3to/Te6edf3file-1 \
Te6edf3path/Te6edf3to/Te6edf3file-2 \
...

Td2a8ff.PHONYTff7b72: Te6edf3po Te6edf3mo

Td2a8ffpoTff7b72:
xgettext -Lpython --outputTff7b72=messages.pot --from-codeTff7b72=utf-8 Tffea00\
View/%s/%s.kv Tffea00\
View/%s/%s.py
msgmerge --update --no-fuzzy-matching --backupTff7b72=off data/locales/po/en.po messages.pot
msgmerge --update --no-fuzzy-matching --backupTff7b72=off data/locales/po/ru.po messages.pot

Td2a8ffmoTff7b72:
mkdir -p data/locales/en/LC_MESSAGES
mkdir -p data/locales/ru/LC_MESSAGES
msgfmt -c -o data/locales/en/LC_MESSAGES/%s.mo data/locales/po/en.po
msgfmt -c -o data/locales/ru/LC_MESSAGES/%s.mo data/locales/po/ru.po


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────